package com.kws.commercial.dao.Info;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * <b>QueryWorkOrderInfo</b>
 *
 * @description: QueryWorkOrderInfo <br>
 * @date: 2024/10/30 17:00 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class QueryWorkOrderInfo {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "项目ID")
    private Long projectQuotationId;

    @ApiModelProperty(value = "项目名称")
    private String schemeName;

    @ApiModelProperty(value = "服务类型")
    private String serviceType;

    @ApiModelProperty(value = "工单编号")
    private String workOrderNo;

    @ApiModelProperty(value = "任务描述")
    private String taskDescription;

    @ApiModelProperty(value = "要求完成时间")
    public Date requiredCompletionTime;

    @ApiModelProperty(value = "实际完成时间")
    private Date actualCompletionTime;

    @ApiModelProperty(value = "优先级：0-高，1-中，2-低")
    private String priority;

    @ApiModelProperty(value = "处理人")
    private Long processingPersonnel;

    @ApiModelProperty(value = "处理人名称")
    private String userName;

    @ApiModelProperty(value = "状态：0-未处理，1-已处理")
    private String status;

    @ApiModelProperty(value = "图片地址")
    private String fileUrl;

    @ApiModelProperty(value = "处理描述")
    private String processDescription;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProjectQuotationId() {
        return projectQuotationId;
    }

    public void setProjectQuotationId(Long projectQuotationId) {
        this.projectQuotationId = projectQuotationId;
    }

    public String getSchemeName() {
        return schemeName;
    }

    public void setSchemeName(String schemeName) {
        this.schemeName = schemeName;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public String getWorkOrderNo() {
        return workOrderNo;
    }

    public void setWorkOrderNo(String workOrderNo) {
        this.workOrderNo = workOrderNo;
    }

    public String getTaskDescription() {
        return taskDescription;
    }

    public void setTaskDescription(String taskDescription) {
        this.taskDescription = taskDescription;
    }

    public String getRequiredCompletionTime() {
        return DateUtil.format(this.requiredCompletionTime, DatePattern.NORM_DATETIME_FORMATTER);
    }

    public void setRequiredCompletionTime(Date requiredCompletionTime) {
        this.requiredCompletionTime = requiredCompletionTime;
    }

    public String getActualCompletionTime() {
        return DateUtil.format(this.actualCompletionTime,DatePattern.NORM_DATETIME_FORMATTER);
    }

    public void setActualCompletionTime(Date actualCompletionTime) {
        this.actualCompletionTime = actualCompletionTime;
    }

    public String getPriority() {
        return priority;
    }

    public void setPriority(String priority) {
        this.priority = priority;
    }

    public Long getProcessingPersonnel() {
        return processingPersonnel;
    }

    public void setProcessingPersonnel(Long processingPersonnel) {
        this.processingPersonnel = processingPersonnel;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getProcessDescription() {
        return processDescription;
    }

    public void setProcessDescription(String processDescription) {
        this.processDescription = processDescription;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return DateUtil.format(this.createTime,DatePattern.NORM_DATETIME_FORMATTER);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
